<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">

<head>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>奖惩管理</title>

<link th:href="@{/js/jquery.js}" rel="stylesheet" />
<script th:href="@{/css/bootstrap.min.css}"  ></script>
<script th:href="@{/js/bootstrap.min.js}"  ></script>

<link rel="stylesheet" type="text/css" href="../static/css/bootstrap.min.css"/>
<script src="../static/js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="../static/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>


<style type="text/css">
	#right{
		position: absolute;
		top: 70px;
		left:300px;
		width:1200px
	}
	table{
		
	}
	td{
		text-align: center;
	}
	.option{
		text-align: center;
	}
</style>
	
</head>
<body>
<div th:replace="Top :: head"></div>
<div th:replace="Top :: left"></div>
<div id="right">
	<ul class="breadcrumb">
		<li><a href="/index">首页</a></li>
		<li><a href="">请假列表</a></li>
	</ul>
	<div>
		<a th:href="@{'toaddHoliday'}" class="btn btn-primary btn-block" >&nbsp;&nbsp;&nbsp;&nbsp;<strong>申请请假</strong></a>
	</div>
	<div>
		<table class="table table-bordered">
			<tr>
				<th width="5%">请假人</th>
				<th width="8%">请假天数</th>
				<th width="20%">请假原因</th>
				<th width="8%">应扣工资</th>
				<th width="15%">请假时间</th>
				<th width="8%">审核状态</th>
				<th width="8%">审批人</th>
				<th width="15%">审核时间</th>
				<th colspan="2" >操       作</th>
			</tr>
			<tr th:each="holiday : ${holidaylist}">
				<td th:text="${holiday.u_nickname}">Onions</td>
				<td th:text="${holiday.h_day}">Onions</td>
				<td th:text="${holiday.h_reason}">Onions</td>
				<td th:text="${holiday.h_salary}">Onions</td>
				<td th:text="${holiday.h_submit}">Onions</td>
				<td th:switch="${holiday.h_statu}">
					<div th:case="0" th:text="审核中">Onions</div>
					<div th:case="1" th:text="未通过">Onions</div>
					<div th:case="2" th:text="已通过">Onions</div>
				</td>
				<td th:text="${holiday.h_checkman}">Onions</td>
				<td th:text="${holiday.h_checkdate}">Onions</td>
				<td>
					<a th:href="@{'holidayDetails?h_id='+${holiday.h_id}}" title="查看详情">查看详情</a>

				</td>
			</tr>
		</table>
	</div>
</div>


		
</body>

</html>